package com.cmcc.groupcontacts.firewall.dao.model;

import android.content.ContentValues;

/**
 * 通话记录数据模型
 * 
 * @author 
 * 
 */
public class CallInfoVO extends BaseModel {
	private static final long serialVersionUID = 2634768269963712030L;

	private String number;
	private String name;
	private long date;

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getDate() {
		return date;
	}

	public void setDate(long date) {
		this.date = date;
	}

	public static class MetaData {
		public static final String NUMBER = "number";
		public static final String NAME = "name";
		public static final String DATE = "date";
	}

	@Override
	public ContentValues parse2ContentValues() {
		putValue(MetaData.NUMBER, number);
		putValue(MetaData.NAME, name);
		putValue(MetaData.DATE, date);
		return contentValues;
	}
}
